<?php

namespace falcon5\inc\Http\Controllers\Rest;

use falcon5\inc\Http\Controllers\BaseController;
use falcon5\inc\Http\JsonResponse;
use falcon5\inc\Http\Request;

/**
 * Class CallbackController
 * @package falcon5\inc\Http\Controllers\Rest
 */
class CallbackController extends BaseController
{
    /**
     * 站点信息回调
     * @param Request $request
     * @return JsonResponse
     */
    public function siteInfoCallback(Request $request): JsonResponse
    {
        // 从现有的 CallbackController 复制逻辑
        // 或者直接委托给现有的控制器
        $originalController = new \falcon5\inc\Http\Controllers\CallbackController();
        return $originalController->siteInfoCallback($request);
    }

    public function entryInfoCallback(Request $request): JsonResponse
    {
        $originalController = new \falcon5\inc\Http\Controllers\CallbackController();
        return $originalController->entryInfoCallback($request);
    }
    
    // 如果有其他回调方法，可以在这里添加
} 